package com.sanri.test.zipkintrace.controller;

import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@Slf4j
@RequestMapping("/test")
public class TokenController {

    @GetMapping("/token")
    public String token(){
        log.info("c 服务收到 token 请求");
        return System.currentTimeMillis() +"";
    }
}
